package com.itheima.reggie.mappers;

import com.itheima.reggie.domain.Category;

import java.util.List;

public interface CategoryMapper {
    List<Category>  findAll();

    void save(Category category);

    void update(Category category);

    Integer countDishByCategoryId(Long id);

    Integer countSetmealByCategoryId(Long id);

    void deleteById(Long id);

}

